<script setup>
import { RouterView } from 'vue-router'
</script>

<template>
   <router-view v-slot="{ Component }">
    <keep-alive>
      <component 
        :is="Component" 
        v-if="$route.meta.keepAlive"
      />
    </keep-alive>
    <component 
      :is="Component" 
      v-if="!$route.meta.keepAlive"
    />
  </router-view>
</template>

<style scoped>

</style>
